package com.bifang.common.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;
import lombok.Data;

/**
 * 基础分页VO
 *
 * @author chenzh
 * @date 2018-08-11
 */
@Data
public class BasePageVO implements Serializable {

    @ApiModelProperty(notes = "登入token", hidden = true)
    private String accessToken;
    /** 路由id */
    @ApiModelProperty(notes = "路由id", hidden = true)
    private String opRouterId;
    /** 功能id */
    @ApiModelProperty(notes = "功能编号", hidden = true)
    private String opFuncId;
    /** 日志id */
    @ApiModelProperty(notes = "opOplogId", hidden = true)
    @JsonSerialize(using = ToStringSerializer.class)
    private Long opOplogId;
    /** IP地址 */
    @ApiModelProperty(notes = "请求IP地址", hidden = true)
    private String reqIp;

    @ApiModelProperty(value = "业务流水号", required = false)
    @JsonSerialize(using = ToStringSerializer.class)
    private BigDecimal busNo;

    /** 查询页 */
    @ApiModelProperty(notes = "查询页", required = false)
    private Integer pageNum;
    /** 每页条数 */
    @ApiModelProperty(notes = "每页条数", required = false)
    private Integer pageSize;

    /** 多字段排序 */
    @ApiModelProperty(notes = "多字段排序", required = false)
    private List<OrderVO> orderVOList;
}
